Optimal. Leaf size=1304 \[ \text{result too large to display} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 1.40757, antiderivative size = 1362, normalized size of antiderivative = 1.04, number of steps used = 47, number of rules used = 16, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.516, Rules used = {2498, 2513, 2411, 2347, 2344, 2301, 2317, 2391, 2314, 31, 2418, 2394, 2393, 2395, 36, 44} \[ \frac{p^2 r^2 \log ^2(a+b x) b^2}{2 h (b g-a h)^2}+\frac{p q r^2 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x) b^2}{h (b g-a h)^2}-\frac{p r \log (a+b x) \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right ) b^2}{h (b g-a h)^2}+\frac{p^2 r^2 \log (g+h x) b^2}{h (b g-a h)^2}+\frac{p r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right ) \log (g+h x) b^2}{h (b g-a h)^2}-\frac{p^2 r^2 \log (a+b x) \log \left (\frac{b (g+h x)}{b g-a h}\right ) b^2}{h (b g-a h)^2}-\frac{p q r^2 \log (c+d x) \log \left (\frac{d (g+h x)}{d g-c h}\right ) b^2}{h (b g-a h)^2}-\frac{p^2 r^2 \text{PolyLog}\left (2,-\frac{h (a+b x)}{b g-a h}\right ) b^2}{h (b g-a h)^2}+\frac{p q r^2 \text{PolyLog}\left (2,\frac{b (c+d x)}{b c-a d}\right ) b^2}{h (b g-a h)^2}-\frac{p q r^2 \text{PolyLog}\left (2,-\frac{h (c+d x)}{d g-c h}\right ) b^2}{h (b g-a h)^2}-\frac{d p q r^2 \log (a+b x) b}{h (b g-a h) (d g-c h)}-\frac{p^2 r^2 (a+b x) \log (a+b x) b}{(b g-a h)^2 (g+h x)}-\frac{d p q r^2 \log (c+d x) b}{h (b g-a h) (d g-c h)}+\frac{p q r^2 \log (c+d x) b}{h (b g-a h) (g+h x)}-\frac{p r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right ) b}{h (b g-a h) (g+h x)}+\frac{2 d p q r^2 \log (g+h x) b}{h (b g-a h) (d g-c h)}+\frac{d^2 q^2 r^2 \log ^2(c+d x)}{2 h (d g-c h)^2}-\frac{\log ^2\left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{2 h (g+h x)^2}+\frac{d p q r^2 \log (a+b x)}{h (d g-c h) (g+h x)}-\frac{d q^2 r^2 (c+d x) \log (c+d x)}{(d g-c h)^2 (g+h x)}+\frac{d^2 p q r^2 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{h (d g-c h)^2}-\frac{d^2 q r \log (c+d x) \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )}{h (d g-c h)^2}-\frac{d q r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )}{h (d g-c h) (g+h x)}+\frac{d^2 q^2 r^2 \log (g+h x)}{h (d g-c h)^2}+\frac{d^2 q r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right ) \log (g+h x)}{h (d g-c h)^2}-\frac{d^2 p q r^2 \log (a+b x) \log \left (\frac{b (g+h x)}{b g-a h}\right )}{h (d g-c h)^2}-\frac{d^2 q^2 r^2 \log (c+d x) \log \left (\frac{d (g+h x)}{d g-c h}\right )}{h (d g-c h)^2}+\frac{d^2 p q r^2 \text{PolyLog}\left (2,-\frac{d (a+b x)}{b c-a d}\right )}{h (d g-c h)^2}-\frac{d^2 p q r^2 \text{PolyLog}\left (2,-\frac{h (a+b x)}{b g-a h}\right )}{h (d g-c h)^2}-\frac{d^2 q^2 r^2 \text{PolyLog}\left (2,-\frac{h (c+d x)}{d g-c h}\right )}{h (d g-c h)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2498
Rule 2513
Rule 2411
Rule 2347
Rule 2344
Rule 2301
Rule 2317
Rule 2391
Rule 2314
Rule 31
Rule 2418
Rule 2394
Rule 2393
Rule 2395
Rule 36
Rule 44
Rubi steps
\begin{align*} \int \frac{\log ^2\left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{(g+h x)^3} \, dx &=-\frac{\log ^2\left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{2 h (g+h x)^2}+\frac{(b p r) \int \frac{\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{(a+b x) (g+h x)^2} \, dx}{h}+\frac{(d q r) \int \frac{\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{(c+d x) (g+h x)^2} \, dx}{h}\\ &=-\frac{\log ^2\left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{2 h (g+h x)^2}+\frac{\left (b p^2 r^2\right ) \int \frac{\log (a+b x)}{(a+b x) (g+h x)^2} \, dx}{h}+\frac{\left (b p q r^2\right ) \int \frac{\log (c+d x)}{(a+b x) (g+h x)^2} \, dx}{h}+\frac{\left (d p q r^2\right ) \int \frac{\log (a+b x)}{(c+d x) (g+h x)^2} \, dx}{h}+\frac{\left (d q^2 r^2\right ) \int \frac{\log (c+d x)}{(c+d x) (g+h x)^2} \, dx}{h}-\frac{\left (b p r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )\right ) \int \frac{1}{(a+b x) (g+h x)^2} \, dx}{h}-\frac{\left (d q r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )\right ) \int \frac{1}{(c+d x) (g+h x)^2} \, dx}{h}\\ &=-\frac{\log ^2\left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{2 h (g+h x)^2}+\frac{\left (p^2 r^2\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x \left (\frac{b g-a h}{b}+\frac{h x}{b}\right )^2} \, dx,x,a+b x\right )}{h}+\frac{\left (b p q r^2\right ) \int \left (\frac{b^2 \log (c+d x)}{(b g-a h)^2 (a+b x)}-\frac{h \log (c+d x)}{(b g-a h) (g+h x)^2}-\frac{b h \log (c+d x)}{(b g-a h)^2 (g+h x)}\right ) \, dx}{h}+\frac{\left (d p q r^2\right ) \int \left (\frac{d^2 \log (a+b x)}{(d g-c h)^2 (c+d x)}-\frac{h \log (a+b x)}{(d g-c h) (g+h x)^2}-\frac{d h \log (a+b x)}{(d g-c h)^2 (g+h x)}\right ) \, dx}{h}+\frac{\left (q^2 r^2\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x \left (\frac{d g-c h}{d}+\frac{h x}{d}\right )^2} \, dx,x,c+d x\right )}{h}-\frac{\left (b p r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )\right ) \int \left (\frac{b^2}{(b g-a h)^2 (a+b x)}-\frac{h}{(b g-a h) (g+h x)^2}-\frac{b h}{(b g-a h)^2 (g+h x)}\right ) \, dx}{h}-\frac{\left (d q r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )\right ) \int \left (\frac{d^2}{(d g-c h)^2 (c+d x)}-\frac{h}{(d g-c h) (g+h x)^2}-\frac{d h}{(d g-c h)^2 (g+h x)}\right ) \, dx}{h}\\ &=-\frac{b p r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )}{h (b g-a h) (g+h x)}-\frac{d q r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )}{h (d g-c h) (g+h x)}-\frac{b^2 p r \log (a+b x) \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )}{h (b g-a h)^2}-\frac{d^2 q r \log (c+d x) \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )}{h (d g-c h)^2}-\frac{\log ^2\left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{2 h (g+h x)^2}+\frac{b^2 p r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right ) \log (g+h x)}{h (b g-a h)^2}+\frac{d^2 q r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right ) \log (g+h x)}{h (d g-c h)^2}-\frac{\left (p^2 r^2\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{\left (\frac{b g-a h}{b}+\frac{h x}{b}\right )^2} \, dx,x,a+b x\right )}{b g-a h}+\frac{\left (b p^2 r^2\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x \left (\frac{b g-a h}{b}+\frac{h x}{b}\right )} \, dx,x,a+b x\right )}{h (b g-a h)}-\frac{\left (b^2 p q r^2\right ) \int \frac{\log (c+d x)}{g+h x} \, dx}{(b g-a h)^2}+\frac{\left (b^3 p q r^2\right ) \int \frac{\log (c+d x)}{a+b x} \, dx}{h (b g-a h)^2}-\frac{\left (b p q r^2\right ) \int \frac{\log (c+d x)}{(g+h x)^2} \, dx}{b g-a h}-\frac{\left (d^2 p q r^2\right ) \int \frac{\log (a+b x)}{g+h x} \, dx}{(d g-c h)^2}+\frac{\left (d^3 p q r^2\right ) \int \frac{\log (a+b x)}{c+d x} \, dx}{h (d g-c h)^2}-\frac{\left (d p q r^2\right ) \int \frac{\log (a+b x)}{(g+h x)^2} \, dx}{d g-c h}-\frac{\left (q^2 r^2\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{\left (\frac{d g-c h}{d}+\frac{h x}{d}\right )^2} \, dx,x,c+d x\right )}{d g-c h}+\frac{\left (d q^2 r^2\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x \left (\frac{d g-c h}{d}+\frac{h x}{d}\right )} \, dx,x,c+d x\right )}{h (d g-c h)}\\ &=\frac{d p q r^2 \log (a+b x)}{h (d g-c h) (g+h x)}-\frac{b p^2 r^2 (a+b x) \log (a+b x)}{(b g-a h)^2 (g+h x)}+\frac{b p q r^2 \log (c+d x)}{h (b g-a h) (g+h x)}-\frac{d q^2 r^2 (c+d x) \log (c+d x)}{(d g-c h)^2 (g+h x)}+\frac{b^2 p q r^2 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{h (b g-a h)^2}+\frac{d^2 p q r^2 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{h (d g-c h)^2}-\frac{b p r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )}{h (b g-a h) (g+h x)}-\frac{d q r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )}{h (d g-c h) (g+h x)}-\frac{b^2 p r \log (a+b x) \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )}{h (b g-a h)^2}-\frac{d^2 q r \log (c+d x) \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )}{h (d g-c h)^2}-\frac{\log ^2\left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{2 h (g+h x)^2}+\frac{b^2 p r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right ) \log (g+h x)}{h (b g-a h)^2}+\frac{d^2 q r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right ) \log (g+h x)}{h (d g-c h)^2}-\frac{d^2 p q r^2 \log (a+b x) \log \left (\frac{b (g+h x)}{b g-a h}\right )}{h (d g-c h)^2}-\frac{b^2 p q r^2 \log (c+d x) \log \left (\frac{d (g+h x)}{d g-c h}\right )}{h (b g-a h)^2}+\frac{\left (b p^2 r^2\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{b g-a h}{b}+\frac{h x}{b}} \, dx,x,a+b x\right )}{(b g-a h)^2}-\frac{\left (b p^2 r^2\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{\frac{b g-a h}{b}+\frac{h x}{b}} \, dx,x,a+b x\right )}{(b g-a h)^2}+\frac{\left (b^2 p^2 r^2\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x} \, dx,x,a+b x\right )}{h (b g-a h)^2}-\frac{\left (b^2 d p q r^2\right ) \int \frac{\log \left (\frac{d (a+b x)}{-b c+a d}\right )}{c+d x} \, dx}{h (b g-a h)^2}+\frac{\left (b^2 d p q r^2\right ) \int \frac{\log \left (\frac{d (g+h x)}{d g-c h}\right )}{c+d x} \, dx}{h (b g-a h)^2}-\frac{\left (b d p q r^2\right ) \int \frac{1}{(c+d x) (g+h x)} \, dx}{h (b g-a h)}-\frac{\left (b d^2 p q r^2\right ) \int \frac{\log \left (\frac{b (c+d x)}{b c-a d}\right )}{a+b x} \, dx}{h (d g-c h)^2}+\frac{\left (b d^2 p q r^2\right ) \int \frac{\log \left (\frac{b (g+h x)}{b g-a h}\right )}{a+b x} \, dx}{h (d g-c h)^2}-\frac{\left (b d p q r^2\right ) \int \frac{1}{(a+b x) (g+h x)} \, dx}{h (d g-c h)}+\frac{\left (d q^2 r^2\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{d g-c h}{d}+\frac{h x}{d}} \, dx,x,c+d x\right )}{(d g-c h)^2}-\frac{\left (d q^2 r^2\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{\frac{d g-c h}{d}+\frac{h x}{d}} \, dx,x,c+d x\right )}{(d g-c h)^2}+\frac{\left (d^2 q^2 r^2\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x} \, dx,x,c+d x\right )}{h (d g-c h)^2}\\ &=\frac{d p q r^2 \log (a+b x)}{h (d g-c h) (g+h x)}-\frac{b p^2 r^2 (a+b x) \log (a+b x)}{(b g-a h)^2 (g+h x)}+\frac{b^2 p^2 r^2 \log ^2(a+b x)}{2 h (b g-a h)^2}+\frac{b p q r^2 \log (c+d x)}{h (b g-a h) (g+h x)}-\frac{d q^2 r^2 (c+d x) \log (c+d x)}{(d g-c h)^2 (g+h x)}+\frac{b^2 p q r^2 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{h (b g-a h)^2}+\frac{d^2 q^2 r^2 \log ^2(c+d x)}{2 h (d g-c h)^2}+\frac{d^2 p q r^2 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{h (d g-c h)^2}-\frac{b p r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )}{h (b g-a h) (g+h x)}-\frac{d q r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )}{h (d g-c h) (g+h x)}-\frac{b^2 p r \log (a+b x) \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )}{h (b g-a h)^2}-\frac{d^2 q r \log (c+d x) \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )}{h (d g-c h)^2}-\frac{\log ^2\left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{2 h (g+h x)^2}+\frac{b^2 p^2 r^2 \log (g+h x)}{h (b g-a h)^2}+\frac{d^2 q^2 r^2 \log (g+h x)}{h (d g-c h)^2}+\frac{b^2 p r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right ) \log (g+h x)}{h (b g-a h)^2}+\frac{d^2 q r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right ) \log (g+h x)}{h (d g-c h)^2}-\frac{b^2 p^2 r^2 \log (a+b x) \log \left (\frac{b (g+h x)}{b g-a h}\right )}{h (b g-a h)^2}-\frac{d^2 p q r^2 \log (a+b x) \log \left (\frac{b (g+h x)}{b g-a h}\right )}{h (d g-c h)^2}-\frac{b^2 p q r^2 \log (c+d x) \log \left (\frac{d (g+h x)}{d g-c h}\right )}{h (b g-a h)^2}-\frac{d^2 q^2 r^2 \log (c+d x) \log \left (\frac{d (g+h x)}{d g-c h}\right )}{h (d g-c h)^2}+\frac{\left (b^2 p^2 r^2\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{h x}{b g-a h}\right )}{x} \, dx,x,a+b x\right )}{h (b g-a h)^2}-\frac{\left (b^2 p q r^2\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{h (b g-a h)^2}+\frac{\left (b^2 p q r^2\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{h x}{d g-c h}\right )}{x} \, dx,x,c+d x\right )}{h (b g-a h)^2}-\frac{\left (d^2 p q r^2\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{h (d g-c h)^2}+\frac{\left (d^2 p q r^2\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{h x}{b g-a h}\right )}{x} \, dx,x,a+b x\right )}{h (d g-c h)^2}+2 \frac{\left (b d p q r^2\right ) \int \frac{1}{g+h x} \, dx}{(b g-a h) (d g-c h)}-\frac{\left (b^2 d p q r^2\right ) \int \frac{1}{a+b x} \, dx}{h (b g-a h) (d g-c h)}-\frac{\left (b d^2 p q r^2\right ) \int \frac{1}{c+d x} \, dx}{h (b g-a h) (d g-c h)}+\frac{\left (d^2 q^2 r^2\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{h x}{d g-c h}\right )}{x} \, dx,x,c+d x\right )}{h (d g-c h)^2}\\ &=-\frac{b d p q r^2 \log (a+b x)}{h (b g-a h) (d g-c h)}+\frac{d p q r^2 \log (a+b x)}{h (d g-c h) (g+h x)}-\frac{b p^2 r^2 (a+b x) \log (a+b x)}{(b g-a h)^2 (g+h x)}+\frac{b^2 p^2 r^2 \log ^2(a+b x)}{2 h (b g-a h)^2}-\frac{b d p q r^2 \log (c+d x)}{h (b g-a h) (d g-c h)}+\frac{b p q r^2 \log (c+d x)}{h (b g-a h) (g+h x)}-\frac{d q^2 r^2 (c+d x) \log (c+d x)}{(d g-c h)^2 (g+h x)}+\frac{b^2 p q r^2 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{h (b g-a h)^2}+\frac{d^2 q^2 r^2 \log ^2(c+d x)}{2 h (d g-c h)^2}+\frac{d^2 p q r^2 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{h (d g-c h)^2}-\frac{b p r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )}{h (b g-a h) (g+h x)}-\frac{d q r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )}{h (d g-c h) (g+h x)}-\frac{b^2 p r \log (a+b x) \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )}{h (b g-a h)^2}-\frac{d^2 q r \log (c+d x) \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right )}{h (d g-c h)^2}-\frac{\log ^2\left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )}{2 h (g+h x)^2}+\frac{b^2 p^2 r^2 \log (g+h x)}{h (b g-a h)^2}+\frac{2 b d p q r^2 \log (g+h x)}{h (b g-a h) (d g-c h)}+\frac{d^2 q^2 r^2 \log (g+h x)}{h (d g-c h)^2}+\frac{b^2 p r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right ) \log (g+h x)}{h (b g-a h)^2}+\frac{d^2 q r \left (p r \log (a+b x)+q r \log (c+d x)-\log \left (e \left (f (a+b x)^p (c+d x)^q\right )^r\right )\right ) \log (g+h x)}{h (d g-c h)^2}-\frac{b^2 p^2 r^2 \log (a+b x) \log \left (\frac{b (g+h x)}{b g-a h}\right )}{h (b g-a h)^2}-\frac{d^2 p q r^2 \log (a+b x) \log \left (\frac{b (g+h x)}{b g-a h}\right )}{h (d g-c h)^2}-\frac{b^2 p q r^2 \log (c+d x) \log \left (\frac{d (g+h x)}{d g-c h}\right )}{h (b g-a h)^2}-\frac{d^2 q^2 r^2 \log (c+d x) \log \left (\frac{d (g+h x)}{d g-c h}\right )}{h (d g-c h)^2}+\frac{d^2 p q r^2 \text{Li}_2\left (-\frac{d (a+b x)}{b c-a d}\right )}{h (d g-c h)^2}-\frac{b^2 p^2 r^2 \text{Li}_2\left (-\frac{h (a+b x)}{b g-a h}\right )}{h (b g-a h)^2}-\frac{d^2 p q r^2 \text{Li}_2\left (-\frac{h (a+b x)}{b g-a h}\right )}{h (d g-c h)^2}+\frac{b^2 p q r^2 \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{h (b g-a h)^2}-\frac{b^2 p q r^2 \text{Li}_2\left (-\frac{h (c+d x)}{d g-c h}\right )}{h (b g-a h)^2}-\frac{d^2 q^2 r^2 \text{Li}_2\left (-\frac{h (c+d x)}{d g-c h}\right )}{h (d g-c h)^2}\\ \end{align*}
Mathematica [B] time = 6.32159, size = 15976, normalized size = 12.25 \[ \text{Result too large to show} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.5, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( \ln \left ( e \left ( f \left ( bx+a \right ) ^{p} \left ( dx+c \right ) ^{q} \right ) ^{r} \right ) \right ) ^{2}}{ \left ( hx+g \right ) ^{3}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 2.44984, size = 2507, normalized size = 1.92 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\log \left (\left ({\left (b x + a\right )}^{p}{\left (d x + c\right )}^{q} f\right )^{r} e\right )^{2}}{h^{3} x^{3} + 3 \, g h^{2} x^{2} + 3 \, g^{2} h x + g^{3}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]